/**
 * ITmCustomAlertService.java
 * Created at 2017-10-30
 * Created by zhanghailin
 * Copyright (C) 2017 BROADTEXT SOFTWARE, All rights reserved.
 */
package com.broadtext.rms.system.service;

import java.util.List;

import com.broadtext.common.exp.ServiceException;
import com.broadtext.common.service.IEntityService;
import com.broadtext.rms.system.model.TmCustomAlert;

/**
 * <p>ClassName: ITmCustomAlertService</p>
 * <p>Description: 自定义告警service接口</p>
 * <p>Author: zhanghailin</p>
 * <p>Date: 2017-10-30</p>
 */
public interface ITmCustomAlertService extends IEntityService<TmCustomAlert>{
    
    Boolean saveCustomAlert(TmCustomAlert t) throws ServiceException;
    
    Boolean updateCustomAlert(TmCustomAlert t) throws ServiceException;
    
    void delete(String[] idArray, String currentUser) throws ServiceException;
    
    List<TmCustomAlert> getTmCustomAlertList() throws ServiceException;
    
    Boolean checkRepeatCode(String alertCode,String pkId) throws ServiceException;

}
